<extend file="resource/view/admin">
	<block name="content">
		<ol class="breadcrumb" style="background-color: #f9f9f9;padding:8px 0;margin-bottom:10px;">
			<li>
				<a href=""><i class="fa fa-cogs"></i>
					站点配置</a>
			</li>
		</ol>
		<ul class="nav nav-tabs" role="tablist">
			<li class="active"><a href="">站点管理</a></li>
		</ul>
		<form action="" method="post">
			<div class="panel panel-default">
				<div class="panel-body">
					<table class="table table-hover">
						<thead>
						<tr>
							<th width="80">编号</th>
							<th>名称</th>
							<th>值</th>
							<th>标题</th>
							<th>描述</th>
						</tr>
						</thead>
						<tbody>
						<foreach from="$data" key="$k" value="$v" >
							<tr>
								<td>{{$v['wid']}}</td>
								<td>{{$v['name']}}</td>
								<td>
									<input type="text" class="form-control" name="web[{{$v['name']}}]" value="{{$v['value']}}">
								</td>
								<td>{{$v['title']}}</td>
								<td>{{$v['desc']}}</td>
							</tr>
						</foreach>
						</tbody>
					</table>
				</div>
			</div>
			<button type="submit" class="btn btn-success">提交</button>
		</form>
	</block>